package com.framework.core.api.request;

import com.framework.common.request.RequestBaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author zhoubb
 * @version V1.0
 * @Date 2020/5/5 19:07
 * @since JDK 1.8
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(value = "城市查询请求对象")
public class CityQueryReq extends RequestBaseBean {

    private Integer id;

    @ApiModelProperty(value = "父id")
    private Integer pid;

    @ApiModelProperty(value = "城市名称")
    private String cityname;

    @ApiModelProperty(value = "城市类型")
    private Integer type;

    @ApiModelProperty(value = "城市拼音")
    private String pinyin;

    @ApiModelProperty(value = "城市简称")
    private String shortName;
}
